package yl.hs.bmipfull.pojo.salemanage;

import org.springframework.lang.Nullable;
import yl.hs.bmipfull.annotations.DBField;
import yl.hs.bmipfull.annotations.DBTable;
import yl.hs.bmipfull.pojo.BaseEntity;

import java.math.BigDecimal;
import java.util.Date;

/**
 * 作用:  产品信息价实体类<br/>
 * 创建时间: 2021年06月08日 09时27分20秒 <br/>
 *
 * @author 张凯
 */
@DBTable(disName = "产品信息价", mapCode = "product_prices")
public class ProductPricesEntity extends BaseEntity {

    /**
     * 主键
     */
    @Nullable
    private Long id;
    /**
     * 编号
     */
    @DBField(disName = "产品信息价编号", mapCode = "sn", isSerialNumber = true, isRequire = true, snPrefix = "XXJG")
    private String sn;
    /**
     * 产品编号
     */
    private String productSN;
    /**
     * 产品价格
     */
    @DBField(disName = "产品价格")
    private BigDecimal price;
    /**
     * 生效时间
     */
    @DBField(disName = "生效时间")
    private Date stime;
    /**
     * 组织代码
     */
    private String organizationCode;

    /**
     * 产品名称
     */
    @DBField(disName = "产品名称")
    private String productName;


    public String getProductName() {
        return productName;
    }

    public void setProductName(String productName) {
        this.productName = productName;
    }

    public Long getId() {
        return this.id;
    }

    public void setId(Long id) {
        this.id = id;
    }

    public String getSn() {
        return this.sn;
    }

    public void setSn(String sn) {
        this.sn = sn;
    }

    public String getProductSN() {
        return this.productSN;
    }

    public void setProductSN(String productSN) {
        this.productSN = productSN;
    }

    public BigDecimal getPrice() {
        return this.price;
    }

    public void setPrice(BigDecimal price) {
        this.price = price;
    }

    public Date getStime() {
        return this.stime;
    }

    public void setStime(Date stime) {
        this.stime = stime;
    }

    public String getOrganizationCode() {
        return this.organizationCode;
    }

    public void setOrganizationCode(String organizationCode) {
        this.organizationCode = organizationCode;
    }


}